package com.ccom.api.feign.fallback;

import com.ccom.api.domain.SysLoginLog;
import com.ccom.api.domain.SysOperLog;
import com.ccom.api.feign.SysLogFeign;
import com.ccom.core.common.model.Result;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;

/**
 * ISysBaseAPI的fallback的方法
 */
@Slf4j
public class BaseLogFeignFallback implements SysLogFeign {

    @Setter
    private Throwable cause;

    @Override
    public Result<Boolean> saveOperLog(SysOperLog sysOperLog) {
        return null;
    }

    @Override
    public Result<Boolean> saveLoginLog(SysLoginLog sysLoginLog) {
        return null;
    }
}
